package com.yugao.fintech.antelope.base.exception;

import com.yugao.fintech.framework.assistant.utils.exception.BaseError;
import com.yugao.fintech.framework.assistant.utils.exception.BaseException;


public class PreAuthorizeException extends BaseException {
    public PreAuthorizeException() {
        this.code = 403;
        this.message = "您没有权限访问该资源, 请联系管理员!!!";
    }

    public PreAuthorizeException(Integer code, String message) {
        super(code, message);
    }

    public PreAuthorizeException(String message) {
        super(message);
    }

    public PreAuthorizeException(BaseError baseError) {
        super(baseError);
    }

}
